﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;

namespace MvcCarConsume.Domain
{
    public interface IAccountService
    {
        bool AuthenticationUser(string UserName, string Password);
        void LogIn(string UserName, bool remember);
        string GetRedirectUrl(string UserName, bool remember);
        void LogOut();
        MembershipUser CreateUser(
            string username,
            string password,
            string email,
            string passwordQuestion,
            string passwordAnswer,
            bool isApproved,
            Object providerUserKey,
            out MembershipCreateStatus status
        );
        MembershipUser CreateUser(
            string username,
            string password,
            string email,
            out MembershipCreateStatus status
         );

    }
}
